package com.hujifang.elasticsearch.model;

import java.io.Serializable;


public class EsDateHistogram implements Serializable{
	private static final long serialVersionUID = -7349799756899115406L;
	/**
	 * 字段名称
	 */
	private String fieldName;
	/**
	 *日期类型 1s 1m 1h 1d 1W 1M 1y
	 */
	private String interval;
	/**
	 * 可以返回的最小DocCount
	 */
	private String minDocCount;
	/**
	 * 格式化
	 */
	private String format;

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getInterval() {
		return interval;
	}

	public void setInterval(String interval) {
		this.interval = interval;
	}

	public String getMinDocCount() {
		return minDocCount;
	}

	public void setMinDocCount(String minDocCount) {
		this.minDocCount = minDocCount;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}
}
